package com.delu.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-12-18
 */
@Data
@TableName("wallet")
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class Wallet extends StorageTable  implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 钱包id
     */
    @TableId(value = "wallet_id", type = IdType.AUTO)
    private Long walletId;

    /**
     * 账户余额
     */
    private BigDecimal balanceAccount;

    /**
     * 押金
     */
    private BigDecimal debt;

    /**
     * 银行卡
     */
    private String bankCard;

    /**
     * 储值卡
     */
    private String storageCard;

    /**
     * 用户id
     */
    private Long userId;

}
